// components/order-review/review-total/index.js
Component({
    properties: {
        discount: {
            type: Number,
            value: 0,
        },
        totalPrice: {
            type: Number,
            optionalTypes: [String],
            value: 0,
        },
        label: {
            type: String,
            value: '合计',
        },
        unit: {
            type: String,
            value: '￥',
        },
    },
})
